package io.renren.modules.weixin.Service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.modules.weixin.Service.WxBindService;
import io.renren.modules.weixin.dao.WxBindDao;
import io.renren.modules.weixin.entity.WxBindEntity;
import org.springframework.stereotype.Service;

@Service("WxBindService")
public class WxBindServiceImpl extends ServiceImpl<WxBindDao,WxBindEntity> implements WxBindService {
    @Override
    public WxBindEntity selectByFormName(String from) {
        return baseMapper.selectByFormName(from);
    }

    @Override
    public WxBindEntity selectByAdminName(String admin) {
        return baseMapper.selectByAdminName(admin);
    }

    @Override
    public void updataByFormName(String admin, String from){
        baseMapper.updataByFormName(admin,from);
    }
}
